package com.hsgene.user.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.user.dto.sms.MessageInfoDto;
import com.hsgene.user.service.api.MessageService;
import org.springframework.stereotype.Component;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class MessageServiceImpl implements MessageService {

    @Override
    public ApiResult<MessageInfoDto> sendMessage(String msgContent, String phones) {
        return ApiResult.fail(CommonErrorCode.MESSAGE_SERVICE_NOT_AVAILABLE);
    }
}
